<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
   /******************************************************************************
     Copyright:: 2020- IBM, Inc

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  *****************************************************************************/
-->

<html lang="en" id="id-32">

<head id="id-29">
    <title id="id-36">The WAI ARIA role should meet the implicit ARIA semantic restriction(s) for the element</title>
    <link id="id-38" href="google.com" rel="test">
    </link>
    <base id="id-8">
    </base>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>

<body id="id-9" aria-atomic="true">
    <div id="id-20" role="region" aria-label="Realtime message log">
        <a class="offleft" href="#maincontent">Skip to main content</a>
        <a name="maincontent"></a>
        <hgroup role="heading" aria-label="hgroup_El" aria-level="1" id="hgroup_El">
            <h1 role="heading" aria-label="h1_El" id="h1_El" aria-level="1"> Heading level 1 </h1>
            <h2 role="heading" aria-label="h2_El" id="h2_El" aria-level="1"> Heading level 2 </h2>
        </hgroup>

    </div>
    <script type="text/javascript">
        UnitTest = {
            ruleIds: ["aria_semantics_role", "aria_semantics_attribute"],
            results: [
                {
                    "ruleId": "aria_semantics_attribute",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]",
                        "aria": "/document[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "aria-atomic",
                        "body",
                        "document"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_role",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]",
                        "aria": "/document[1]/region[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "region",
                        "div"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_attribute",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]",
                        "aria": "/document[1]/region[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "aria-label",
                        "div",
                        "region"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_role",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/hgroup[1]",
                        "aria": "/document[1]/region[1]/heading[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "heading",
                        "hgroup"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_attribute",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/hgroup[1]",
                        "aria": "/document[1]/region[1]/heading[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "aria-label, aria-level",
                        "hgroup",
                        "heading"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_role",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/hgroup[1]/h1[1]",
                        "aria": "/document[1]/region[1]/heading[1]/heading[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "heading",
                        "h1"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_attribute",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/hgroup[1]/h1[1]",
                        "aria": "/document[1]/region[1]/heading[1]/heading[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "aria-label, aria-level",
                        "h1",
                        "heading"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_role",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/hgroup[1]/h2[1]",
                        "aria": "/document[1]/region[1]/heading[1]/heading[2]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "heading",
                        "h2"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_attribute",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/hgroup[1]/h2[1]",
                        "aria": "/document[1]/region[1]/heading[1]/heading[2]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "aria-label, aria-level",
                        "h2",
                        "heading"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                }
            ]
        }
    </script>
</body>

</html>